import React from 'react'
import "../../../common/common.css"
export default function MouseUse() {
    return (
        <div>
            <button className='returnButton'><a href="/">点击返回主菜单</a></button>
            <h1>MouseUse</h1>
            <div
                style={{ width: "200px", height: "200px", backgroundColor: "#fdcb54" }}
                onMouseDown={() => { console.log("down"); }}
                onMouseUp={() => { console.log("up"); }}
            >
                鼠标事件
                <button onClick={() => { console.log("鼠标被点击"); }}>鼠标</button>
            </div>
        </div>
    )
}
